import { darkTheme } from './dark'
import { lightTheme } from './light'
export function confirmTheme(type: 'dark' | 'light') {
  const theme = type === 'dark' ? darkTheme : lightTheme
  for (const key in theme) {
    document.body.style.setProperty(key, theme[key])
  }
}